package com.qisu.enums;

/**
 * 
 * @author li
 *
 */
public enum ChargeMethod implements DescriptiveEnum<Integer> {
	// @formatter:off
	NA(0, "不适用"),
	ManualByTime(1, "按时间手动停止"),
	ManualByAmount(2, "按金额手动停止"),
	ManualByQuantity(3, "按电量手动停止"),
	AutoByTime(4, "按时间自动停止"),
	AutoByAmount(5, "按金额自动停止"),
	AutoByQuantity(6, "按电量自动停止"),
	AutoUntilFull(7, "自动充满为止"),
	AutoSOC(8, "按SOC自动停止");
	// @formatter:off

	private int _val;
	private String _desc;

	private ChargeMethod(int val, String desc) {
		_val = val;
		_desc = desc;
	}

	@Override
	public Integer getValue() {
		return _val;
	}

	@Override
	public String getDescription() {
		return _desc;
	}

}
